# coding: utf-8
import os

import pytest   #pytest框架
import allure
#pytest参数
pytest_parameter = ["-vs",
                    "--clean-alluredir",
                    "--alluredir=allure-results"]

#运行pytest
pytest.main(pytest_parameter)

os.system("allure generate -c -o allure_report")